package com.utils;

import com.gp.node.AvgPrice;
import com.gp.node.ClosingPrice;
import com.gp.node.Const;
import com.gp.node.HighPrice;
import com.gp.node.INode;
import com.gp.node.LowPrice;
import com.gp.node.OpenPrice;
import com.gp.node.operator.Add;
import com.gp.node.operator.IOperatorBinary;
import com.gp.node.operator.Sub;

public class CONST {
	
	public static final int TREE_START_SIZE = 4;
	public static final int GENERATION_SIZE = 25;
	public static final int ROUNDS = 500;
	public static final double MUTATION = 0.05;
	 
	// options of #days for calculating avg
	public static final int avgNumDays[] = {2,5,10,20,30,50};
	 
	public static final int CONST_MAX = 20;
	 
	// list of the possible binary operators
	public static final IOperatorBinary[] OP_LIST = {new Add(), new Sub()};
	 
	// list of the possible IValue nodes types
	public static final INode[] VAL_LIST = {new Const(), new ClosingPrice(), new AvgPrice(), new HighPrice(), new LowPrice(), new OpenPrice()};
	 
	public static final double CHANGE_LIMIT = 0;
}
